package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.*;
import com.realtyManage.springboot.Model.Vo.BaseEntity;
import com.realtyManage.springboot.Model.Vo.CustomReEntity;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ProjectDetailService {

    ProjectDetail save(ProjectDetail projectDetail);

    List<ProjectApartment> findPagedByWhereClause(ProjectApartment projectApartment);

    int deleteHouseDynamic(List ids);

    List<HouseDynamic> showNewHouseDynamic();

    HouseDynamic addHouseDynamic(HouseDynamic houseDynamic);

    int updateHouseDynamic(HouseDynamic houseDynamic);

    List<HouseDynamic> showHouseDynamic();

    ProjectDetail addOrUpdateProjectDetail(ProjectDetail projectDetail);

    ProjectAssort addProjectAssort(ProjectAssort projectAssort);

    int deleteProjectAssort(List ids);

    List<ProjectExhibition> showProjectExhibition();

    List<ProjectAssort> queryPt(Integer type);

    List<ProjectDetail> showProject();

    int updateProjectExhibition(ProjectExhibition projectExhibition);

    ProjectApartment addProjectApartment(ProjectApartment projectApartment);

    int deleteProjectApartment(List ids);

    int updateProjectApartment(ProjectApartment projectApartment);

    List getCountHouseScale();

    Map getCountPropertyType();

    int updateIntegral(Integral integral);

    List<Integral> getIntegralList();

    List getCountPublicCustomer();

    List<User> getCompleteTaskSalespersonList(String complete);

    List<UserTask> getInformal();

    UserTask queryTaskDetailById(Integer id);

    List getCountImg();

    List<ProjectImg> getImgByType(Integer type);

    int updateProjectImgByType(ProjectImg projectImg);

    List<Discuss> getDiscussTree();

    int deleteDiscuss(Integer id);

    List<Discuss> getAuditDiscuss();

    int auditDiscuss(Integer id,String type);

    Discuss addDiscuss(Discuss discuss);

    List getApartment();

    List getApartmentNumberList(String code);

    List<ProjectApartment> getPropertyTyeList(ProjectApartment projectApartment);

    List<String> getNameAndImg(CustomReEntity customReEntity);

    List<HouseDetail> getHouseDetailById(String id);

    HomePurchasePlan addHomePurchasePlan(HomePurchasePlan homePurchasePlan);

    int deleteHomePurchasePlan(Integer id);

    List<HomePurchasePlan> getHomePurchasePlan(String id);

    HomePurchasePlan getHomePurchasePlanDetail(String id);

    List<Discuss> getDiscussTreeDetailById(String id);

    List getNameAndPhone();

}
